/**
 * 运输相关
 * @author：丁少华
 * @param：
 * @throws：
 * @time：2018/7/5
 */
import pass from '../pages/pass/pass.vue'
import passDtl from '../pages/pass/passDtl.vue'
import passAppointDtl from '../pages/pass/passAppointDtl.vue'
import passAdd from '../pages/pass/passAdd.vue'
import dirverDetail from '../pages/pass/dirverDetail.vue'
import passIndent from '../pages/pass/passIndent.vue'
import selectPassDr from '../pages/pass/selectPassDr.vue'

export default [
    {
        path: '/pass/',
        component: pass
    },
    {
        path: '/pass/passDtl/:lineid',
        component: passDtl
    },
    {
        path: '/pass/passAppointDtl/:lineid',
        component: passAppointDtl,
        options:{
            reloadPages:true
        }

    },
    //发布运输需求
    {
        path: '/pass/passAdd/',
        component: passAdd
    },
    //派货-车辆详情
    {
        path: '/pass/dirverDetail/:orderId/:userId/:weight',
        component: dirverDetail
    },
    //司机订单
    {
        path: '/pass/passIndent/:orderId',
        component: passIndent
    },
    //选择车辆
    {
        path: '/pass/selectPassDr/:demandId',
        component: selectPassDr
    }
]
